/**
 * 
 */
package com.ac4j.algorithm;

import com.ac4j.match.Position;
import com.ac4j.sample.SampleImage;

/**
 * @author helanmouse
 * 
 */
public abstract class AbstractLocatingAlgorithm {
	SampleImage sourceimg;

	/**
	 * 
	 */
	public abstract boolean HasNext();

	/**
	 * 
	 */
	public abstract Position NextPosition();

	/**
	 * 
	 */
	public abstract void Feedback(float position_matchscore);

	/**
	 * @param sourceimg
	 */
	public AbstractLocatingAlgorithm(SampleImage sourceimg) {
		this.sourceimg = sourceimg;
	}

}
